package com.shuyuwl.core.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 分页参数
 * @author xpk
 * @date 2019/10/22
 */
public class PageVO implements Serializable {

    /**
     * 当前页
     */
    private Long page;

    /**
     * 每页显示条数
     */
    private Integer size;

    /**
     * 排序方案
     */
    private List<String> sortBy;

    private List<String> sortHow;

    public Long getPage() {
        return page;
    }

    public void setPage(Long page) {
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public List<String> getSortBy() {
        return sortBy;
    }

    public void setSortBy(List<String> sortBy) {
        this.sortBy = sortBy;
    }

    public List<String> getSortHow() {
        return sortHow;
    }

    public void setSortHow(List<String> sortHow) {
        this.sortHow = sortHow;
    }

    @Override
    public String toString() {
        return "PageVO{" +
                "page=" + page +
                ", size=" + size +
                '}';
    }
}
